<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>InFact: infact::FactoryBase Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">InFact
   
   </div>
   <div id="projectbrief">Interpreter and factory for easily creating C++ objects at run-time</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceinfact.html">infact</a>      </li>
      <li class="navelem"><a class="el" href="classinfact_1_1_factory_base.html">FactoryBase</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">infact::FactoryBase Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="infact::FactoryBase" -->
<p>An interface for all <a class="el" href="classinfact_1_1_factory.html">Factory</a> instances, specifying a few pure virtual methods.  
 <a href="classinfact_1_1_factory_base.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="factory_8h_source.html">factory.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for infact::FactoryBase:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classinfact_1_1_factory_base.png" usemap="#infact::FactoryBase_map" alt=""/>
  <map id="infact::FactoryBase_map" name="infact::FactoryBase_map">
<area href="classinfact_1_1_factory.html" title="Factory for dynamically created instance of the specified type." alt="infact::Factory&lt; T &gt;" shape="rect" coords="0,56,124,80"/>
</map>
 </div></div>

<p><a href="classinfact_1_1_factory_base-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_factory_base.html#a656bc3024e1f6072138126307fc07510">~FactoryBase</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_factory_base.html#a0bfd1d5815782ffff1fac35c36567fee">Clear</a> ()=0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the (possibly static) data of this factory.  <a href="#a0bfd1d5815782ffff1fac35c36567fee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_factory_base.html#ab11fc85e901a402e3db2ea88a0fd76bb">BaseName</a> () const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the base type of objects constructed by this factory.  <a href="#ab11fc85e901a402e3db2ea88a0fd76bb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_factory_base.html#ad801507cc88948faf540cdfee4e02319">CollectRegistered</a> (unordered_set&lt; string &gt; &amp;registered) const =0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Collects the names of types registered with this factory.  <a href="#ad801507cc88948faf540cdfee4e02319"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_factory_base.html#a1cc61a662485882019f4fecfe7b6b54e">CreateVarMap</a> (<a class="el" href="classinfact_1_1_environment.html">Environment</a> *env) const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_factory_base.html#a612b59d8e802ab667304264a8d3dca72">CreateVectorVarMap</a> (<a class="el" href="classinfact_1_1_environment.html">Environment</a> *env) const =0</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An interface for all <a class="el" href="classinfact_1_1_factory.html">Factory</a> instances, specifying a few pure virtual methods. </p>

<p>Definition at line <a class="el" href="factory_8h_source.html#l00428">428</a> of file <a class="el" href="factory_8h_source.html">factory.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a656bc3024e1f6072138126307fc07510"></a><!-- doxytag: member="infact::FactoryBase::~FactoryBase" ref="a656bc3024e1f6072138126307fc07510" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_factory_base.html#a656bc3024e1f6072138126307fc07510">infact::FactoryBase::~FactoryBase</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="factory_8h_source.html#l00430">430</a> of file <a class="el" href="factory_8h_source.html">factory.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab11fc85e901a402e3db2ea88a0fd76bb"></a><!-- doxytag: member="infact::FactoryBase::BaseName" ref="ab11fc85e901a402e3db2ea88a0fd76bb" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const string <a class="el" href="classinfact_1_1_factory_base.html#ab11fc85e901a402e3db2ea88a0fd76bb">infact::FactoryBase::BaseName</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the name of the base type of objects constructed by this factory. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_factory.html#ad620a617807715cd33c77ad6a68483ee">infact::Factory&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a0bfd1d5815782ffff1fac35c36567fee"></a><!-- doxytag: member="infact::FactoryBase::Clear" ref="a0bfd1d5815782ffff1fac35c36567fee" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classinfact_1_1_factory_base.html#a0bfd1d5815782ffff1fac35c36567fee">infact::FactoryBase::Clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears the (possibly static) data of this factory. </p>
<p><code>Note</code> that invoking this method will prevent the factory from functioning! It should only be invoked when the factory is no longer needed by the current process. </p>

<p>Implemented in <a class="el" href="classinfact_1_1_factory.html#a0da8e64d55dfe9c99d37feec9ccbacb2">infact::Factory&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ad801507cc88948faf540cdfee4e02319"></a><!-- doxytag: member="infact::FactoryBase::CollectRegistered" ref="ad801507cc88948faf540cdfee4e02319" args="(unordered_set&lt; string &gt; &amp;registered) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classinfact_1_1_factory_base.html#ad801507cc88948faf540cdfee4e02319">infact::FactoryBase::CollectRegistered</a> </td>
          <td>(</td>
          <td class="paramtype">unordered_set&lt; string &gt; &amp;&#160;</td>
          <td class="paramname"><em>registered</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Collects the names of types registered with this factory. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">registered</td><td>registered a set to be modified by this method so that it contains the names of concrete types registered with this factory </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classinfact_1_1_factory.html#a3076c07068d1eab3de4457897b4ba437">infact::Factory&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a1cc61a662485882019f4fecfe7b6b54e"></a><!-- doxytag: member="infact::FactoryBase::CreateVarMap" ref="a1cc61a662485882019f4fecfe7b6b54e" args="(Environment *env) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a>* <a class="el" href="classinfact_1_1_factory_base.html#a1cc61a662485882019f4fecfe7b6b54e">infact::FactoryBase::CreateVarMap</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classinfact_1_1_environment.html">Environment</a> *&#160;</td>
          <td class="paramname"><em>env</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classinfact_1_1_factory.html#a935b3afe182cbaececdaeae2704a6019">infact::Factory&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a612b59d8e802ab667304264a8d3dca72"></a><!-- doxytag: member="infact::FactoryBase::CreateVectorVarMap" ref="a612b59d8e802ab667304264a8d3dca72" args="(Environment *env) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_var_map_base.html">VarMapBase</a>* <a class="el" href="classinfact_1_1_factory_base.html#a612b59d8e802ab667304264a8d3dca72">infact::FactoryBase::CreateVectorVarMap</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classinfact_1_1_environment.html">Environment</a> *&#160;</td>
          <td class="paramname"><em>env</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classinfact_1_1_factory.html#a425fe369a75bbf639c797a1ca5926c63">infact::Factory&lt; T &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/infact/<a class="el" href="factory_8h_source.html">factory.h</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 23 2014 10:07:53 for InFact by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
